
package com.google.code.sms.android.util;

import android.app.Activity;
import android.view.View;

/**
 * Fallback for API level < 11. Open the options menu rather than displaying the popup menu.
 *
 * @author Sindre Mehus
 * @version $Id$
 */
public class PopupMenuHelperBase extends PopupMenuHelper {

    @Override
    public void showMenu(Activity activity, View anchor, int menuResource) {
        activity.openOptionsMenu();
    }
}
